
using AutoMapper;
using WebApp.Navigations;
using WebApp.Navigations.Dtos;

namespace WebApp.CustomDtoAutoMapper
{


    public class MenuElementMapProfile : Profile
    {
        public MenuElementMapProfile()
        { 
            CreateMap<MenuElement, MenuElementListDto>();
            CreateMap<MenuElementListDto, MenuElement>();
            
            CreateMap<MenuElementEditDto, MenuElement>();
            CreateMap<MenuElement, MenuElementEditDto>();

            
        }

    }
}
